<template>
	<div>
		<p class="order-tip">处理结果（{{repairman.content.time.split(' ')[0]}}）</p>
		<div class="order-line margin border" v-if="repairman">
			{{repairman.content.txt}}
			<playAudio v-if="repairman.content.audio"
			:src="repairman.content.audio"></playAudio>
		</div>
		<div class="order-line img-container"
		v-if="repairman"
		v-show="repairman.content.img.length">
			<span class="img-wrapper" v-for="img in repairman.content.img"
			@click="$emit('clickImg', img)">
				<img :src="img">
			</span>
		</div>
	</div>
</template>
<script>
	import playAudio from './PlayAudio'
	export default{
		name: 'RepairmanResult',
		mounted(){
		},
		props: ['repairman'],
		components: {playAudio}
	}
</script>